package com.cwd.arm.inter.util;

import java.math.BigDecimal;

/**
 * Created by yan on 21-11-28.
 */
public class RateUtil {

    private static final BigDecimal X = new BigDecimal("100");

    public static BigDecimal convertToRate(BigDecimal rate){
//        if(rate == null){
//           return "0%" ;
//        }
//        return rate.multiply(X).setScale(2,BigDecimal.ROUND_HALF_UP)+"%";
        return rate;
    }
}
